package com.jdd.modules.parkmonthly.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jdd.common.util.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Description: 1
 * @Author: jdd
 * @Date: 2021-11-24
 * @Version: V1.0
 */
@Data
@TableName("monthly_card_edit_info")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "monthly_card_edit_info对象", description = "1")
public class MonthlyCardEditInfo {

    /**
     * 主键
     */
    @TableId(type = IdType.UUID)
    @ApiModelProperty(value = "主键")
    private String id;
    /**
     * 停车场编号
     */
    @Excel(name = "停车场编号", width = 15)
    @ApiModelProperty(value = "停车场编号")
    private String parkCode;
    /**
     * 停车场名称
     */
    @Excel(name = "停车场名称", width = 15)
    @ApiModelProperty(value = "停车场名称")
    private String parkName;
    /**
     * 操作类型:1.充值 2.延期 3.注销 4.修改 5.报停
     */
    @Excel(name = "操作类型:1.充值 2.延期 3.注销 4.修改 5.报停", width = 15)
    @ApiModelProperty(value = "操作类型:1.充值 2.延期 3.注销 4.修改 5.报停")
    private String optionsType;
    /**
     * 本次充值费用
     */
    @Excel(name = "本次充值费用", width = 15)
    @ApiModelProperty(value = "本次充值费用")
    private BigDecimal payTheFee;
    /**
     * 月卡信息表id
     */
    @ApiModelProperty(value = "月卡信息表id")
    private String monthlyCardId;
    /**
     * 月租编号
     */
    @Excel(name = "月租编号", width = 15)
    @ApiModelProperty(value = "月租编号")
    private String monthlyCode;
    /**
     * 套餐id
     */
    @ApiModelProperty(value = "套餐id")
    private String packageId;
    /**
     * 套餐名称
     */
    @Excel(name = "套餐名称", width = 15)
    @ApiModelProperty(value = "套餐名称")
    private String packageName;
    /**
     * 客户姓名
     */
    @Excel(name = "客户姓名", width = 15)
    @ApiModelProperty(value = "客户姓名")
    private String userName;
    /**
     * 部门id
     */
    @ApiModelProperty(value = "部门id")
    private String monthlyDepartmentId;
    /**
     * 部门名称
     */
    @Excel(name = "部门名称", width = 15)
    @ApiModelProperty(value = "部门名称")
    private String monthlyDepartmentName;
    /**
     * 通行权限id
     */
    @Excel(name = "通行权限id", width = 15)
    @ApiModelProperty(value = "通行权限id")
    private String throughAuthorityId;
    /**
     * 通行权限名称
     */
    @Excel(name = "通行权限名称", width = 15)
    @ApiModelProperty(value = "通行权限名称")
    private String throughAuthorityName;
    /**
     * beforePlateNos
     */
    @Excel(name = "操作前车牌信息", width = 15)
    @ApiModelProperty(value = "操作前车牌信息")
    private String beforePlateNos;
    /**
     * 车牌信息
     */
    @Excel(name = "车牌信息", width = 15)
    @ApiModelProperty(value = "车牌信息")
    private String plateNos;
    /**
     * beforeParkNumbers
     */
    @Excel(name = "操作车位牌信息", width = 15)
    @ApiModelProperty(value = "操作车位牌信息")
    private String beforeParkNumbers;
    /**
     * 车位信息
     */
    @Excel(name = "车位信息", width = 15)
    @ApiModelProperty(value = "车位信息")
    private String parkNumbers;
    /**
     * 操作前开始时间
     */
    @Excel(name = "操作前开始时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "操作前开始时间")
    private Date beforeStartTime;
    /**
     * 操作前的过期时间
     */
    @Excel(name = "操作前的过期时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "操作前的过期时间")
    private Date beforeEndTime;
    /**
     * 操作前开始时间
     */
    @Excel(name = "操作前开始时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "操作前开始时间")
    private Date startTime;
    /**
     * 操作前的过期时间
     */
    @Excel(name = "操作前的过期时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "操作前的过期时间")
    private Date endTime;
    /**
     * 业务来源(1.人工 2.车主用户 3.第三方对接)
     */
    @Excel(name = "业务来源", width = 15)
    @ApiModelProperty(value = "业务来源(1.人工 2.车主用户 3.第三方对接)")
    private String businessSource;
    /**
     * 支付渠道(1.现金 2.工行 3.微信 4.支付宝)
     */
    @Excel(name = "支付渠道", width = 15)
    @ApiModelProperty(value = "支付渠道(1.现金 2.工行 3.微信 4.支付宝)")
    private String paymentChannel;
    /**
     * 过期延期方式(1、顺延 2、跳延)
     */
    @Excel(name = "过期延期方式", width = 15)
    @ApiModelProperty(value = "过期延期方式(1、顺延 2、跳延)")
    private String overdueDelayWay;
    /**
     * 备注信息
     */
    @Excel(name = "备注信息", width = 15)
    @ApiModelProperty(value = "备注信息")
    private String remark;
    /**
     * 创建人id
     */
    @Excel(name = "创建人id", width = 15)
    @ApiModelProperty(value = "创建人id")
    private String createUserId;
    /**
     * 创建人名称
     */
    @Excel(name = "创建人名称", width = 15)
    @ApiModelProperty(value = "创建人名称")
    private String createUserName;
    /**
     * 修改人id
     */
    @Excel(name = "修改人id", width = 15)
    @ApiModelProperty(value = "修改人id")
    private String updateUserId;
    /**
     * 修改人名称
     */
    @Excel(name = "修改人名称", width = 15)
    @ApiModelProperty(value = "修改人名称")
    private String updateUserName;
    /**
     * 修改时间
     */
    @Excel(name = "操作时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;
    /**
     * 创建时间
     */
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
}
